home *** CD-ROM | disk | FTP | other *** search
- Path: rahul.net!a2i!news
- From: terris@rahul.net (Terris Linenbach)
- Newsgroups: comp.lang.c++
- Subject: MSVC++ and STL: problems with DLLs
- Date: 13 Feb 1996 05:44:31 GMT
- Organization: a2i network
- Message-ID: <4fp8fv$6f8@hustle.rahul.net>
- NNTP-Posting-Host: 534.rahul.net
- Mime-Version: 1.0
- Content-Type: Text/Plain; charset=US-ASCII
- X-Newsreader: WinVN 0.99.6
-
- We are having trouble passing sets, maps, or lists across DLL boundaries.
- For example, we cannot pass one of these objects from an
- EXE to a DLL. The problem is the code crashes when we try to
- look at the object "from the other side". Or, maybe it's
- when we try to modify it. I forget which.
-
- The DLL and EXE are using the "shared MFC DLLs".
-
- The culprits are the "static" data members found in various
- STL classes. Each EXE and DLL gets its own copy of these
- statics. STL seems to fall all over itself because the
- statics aren't in sync.
-
- It's pretty raw out there. Has anyone tried this yet?
-
- - Terris
-
-